public class WaitTest {
    public static void main(String[] args) {
        LockQC lockQC = new LockQC();
        ThreadWait2 threadWait2 = new ThreadWait2(lockQC);
        ThreadNotify threadNotify = new ThreadNotify(lockQC);
        Thread threadWaite = new Thread(threadWait2,"等待线程");
        Thread threadNotify2 = new Thread(threadNotify,"唤醒线程");
        threadWaite.start();
        threadNotify2.start();

    }
}
